package com.ruoyi.sqlserver.mapper;

import java.util.List;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.sqlserver.domain.PesCompany;

/**
 * pesMapper接口
 *
 * @author wkw
 * @date 2024-04-14
 */
@DataSource(value = DataSourceType.SLAVE)
public interface PesCompanyMapper
{
    /**
     * 查询pes
     *
     * @param coId pes主键
     * @return pes
     */
    public PesCompany selectPesCompanyByCoId(String coId);

    /**
     * 查询pes列表
     *
     * @param pesCompany pes
     * @return pes集合
     */
    public List<PesCompany> selectPesCompanyList(PesCompany pesCompany);

    /**
     * 新增pes
     *
     * @param pesCompany pes
     * @return 结果
     */
    public int insertPesCompany(PesCompany pesCompany);

    /**
     * 修改pes
     *
     * @param pesCompany pes
     * @return 结果
     */
    public int updatePesCompany(PesCompany pesCompany);

    /**
     * 删除pes
     *
     * @param coId pes主键
     * @return 结果
     */
    public int deletePesCompanyByCoId(String coId);

    /**
     * 批量删除pes
     *
     * @param coIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePesCompanyByCoIds(String[] coIds);
}
